/*Dot characteristics and PP jobs as in LMP 09 */

#delimit ;

version 8;
set mem 100m;
 
log using table5, replace text;
 


/*private sector only*/

u psid76_2004_jleo;



/* redefine complex job as performance pay job */

replace relational_job=pp_job;





xi: reg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: reg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: dprobit relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: dprobit relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: areg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70) absorb(id);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: areg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70) absorb(id);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);


clear;
log close;
